package org.mercworks.igamexmlparser.dvo;

import java.util.List;

public class Skin
{
	public Integer vertexId;
	public List<IGameBone> listIGameBones;
	
	/**
	 * @return the vertexId
	 */
	public Integer getVertexId()
	{
		return vertexId;
	}
	/**
	 * @param vertexId the vertexId to set
	 */
	public void setVertexId(Integer vertexId)
	{
		this.vertexId = vertexId;
	}
	/**
	 * @return the listBones
	 */
	public List<IGameBone> getListIGameBones()
	{
		return listIGameBones;
	}
	/**
	 * @param listIGameBones the listBones to set
	 */
	public void setListIGameBones(List<IGameBone> listIGameBones)
	{
		this.listIGameBones = listIGameBones;
	}
	
	public String toString()
	{
		StringBuffer sb = new StringBuffer();
		
		sb.append("\t\t\t[Skin Vertex: " + this.getVertexId() + "]\n\t\t\t{\n");
		
		for(IGameBone bone : listIGameBones)
		{
			sb.append(bone.toString());
		}
		
		sb.append("\t\t\t}\n");
		
		return sb.toString();
	}
}
